import ${classInfo.className?uncap_first}Api from '@/api/${classInfo.className?uncap_first}.api'

class ${classInfo.className}Service {
  async create (data) {
    return ${classInfo.className?uncap_first}Api.creat(data)
  }
  async update (data) {
    return ${classInfo.className?uncap_first}Api.update(data)
  }
  async modify (data) {
    return ${classInfo.className?uncap_first}Api.modify(data)
  }
  async delete (id) {
    return ${classInfo.className?uncap_first}Api.delete(id)
  }
  async find (id) {
    return ${classInfo.className?uncap_first}Api.find(id)
  }
  async list (pageable) {
    return ${classInfo.className?uncap_first}Api.list(pageable)
  }
  async advancedSearch (whereClause, pageable) {
    return ${classInfo.className?uncap_first}Api.advancedSearch(whereClause, pageable)
  }
}
export default new ${classInfo.className}Service()
